package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 箱码列表对象 biz_barcode
 * 
 * @author ruoyi
 * @date 2025-10-21
 */
public class BizBarcode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 箱码ID */
    private Long barcodeId;

    /** 箱码 */
    @Excel(name = "箱码")
    private String barcode;

    /** 箱码状态 */
    @Excel(name = "箱码状态")
    private String barcodeStatus;

    /** 订单明细ID */
    private Long itemId;

    /** 采购订单编号 */
    @Excel(name = "采购订单编号")
    private String orderNo;

    /** 批次号 */
    @Excel(name = "批次号")
    private String batchNo;

    /** 存货编码 */
    @Excel(name = "存货编码")
    private String inventoryCode;

    /** 存货名称 */
    @Excel(name = "存货名称")
    private String inventoryName;

    /** 供货商编码 */
    @Excel(name = "供货商编码")
    private String supplierCode;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 装箱数量 */
    @Excel(name = "装箱数量")
    private BigDecimal packQuantity;

    /** 计量单位编码 */
    @Excel(name = "计量单位编码")
    private String unitCode;

    /** 计量单位名称 */
    @Excel(name = "计量单位名称")
    private String unitName;

    /** 送货编码 */
    @Excel(name = "送货编码")
    private String deliveryNoteNo;

    /** 送货时间 */
    private Date deliveryTime;

    /** 收料通知单编码 */
    @Excel(name = "收料通知单编码")
    private String receiptNoteNo;

    /** 收货时间 */
    private Date receivedTime;

    /** 检验计划编码 */
    @Excel(name = "检验计划编码")
    private String inspectionPlanNo;

    /** 检验时间 */
    private Date inspectedTime;

    /** 采购入库编码 */
    @Excel(name = "采购入库编码")
    private String purchaseInNo;

    /** 入库时间 */
    private Date putawayTime;

    /** 是否拒收（0否 1是） */
    @Excel(name = "是否拒收", readConverterExp = "0=否,1=是")
    private String isRejected;

    /** 质检结果 */
    @Excel(name = "质检结果")
    private String qualityResult;

    /** 创建人 */
    private String createdBy;

    /** 创建时间 */
    private Date createdTime;

    /** 更新人 */
    private String updatedBy;

    /** 更新时间 */
    private Date updatedTime;

    /** 删除标志（0存在 1删除） */
    private String delFlag;

    public void setBarcodeId(Long barcodeId) 
    {
        this.barcodeId = barcodeId;
    }

    public Long getBarcodeId() 
    {
        return barcodeId;
    }

    public void setBarcode(String barcode) 
    {
        this.barcode = barcode;
    }

    public String getBarcode() 
    {
        return barcode;
    }

    public void setBarcodeStatus(String barcodeStatus) 
    {
        this.barcodeStatus = barcodeStatus;
    }

    public String getBarcodeStatus() 
    {
        return barcodeStatus;
    }

    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }

    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }

    public void setBatchNo(String batchNo) 
    {
        this.batchNo = batchNo;
    }

    public String getBatchNo() 
    {
        return batchNo;
    }

    public void setInventoryCode(String inventoryCode) 
    {
        this.inventoryCode = inventoryCode;
    }

    public String getInventoryCode() 
    {
        return inventoryCode;
    }

    public void setInventoryName(String inventoryName)
    {
        this.inventoryName = inventoryName;
    }

    public String getInventoryName()
    {
        return inventoryName;
    }

    public void setSupplierCode(String supplierCode) 
    {
        this.supplierCode = supplierCode;
    }

    public String getSupplierCode() 
    {
        return supplierCode;
    }

    public void setSupplierName(String supplierName)
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName()
    {
        return supplierName;
    }

    public void setPackQuantity(BigDecimal packQuantity) 
    {
        this.packQuantity = packQuantity;
    }

    public BigDecimal getPackQuantity() 
    {
        return packQuantity;
    }

    public void setUnitCode(String unitCode) 
    {
        this.unitCode = unitCode;
    }

    public String getUnitCode() 
    {
        return unitCode;
    }

    public void setUnitName(String unitName)
    {
        this.unitName = unitName;
    }

    public String getUnitName()
    {
        return unitName;
    }

    public void setDeliveryNoteNo(String deliveryNoteNo) 
    {
        this.deliveryNoteNo = deliveryNoteNo;
    }

    public String getDeliveryNoteNo() 
    {
        return deliveryNoteNo;
    }

    public void setDeliveryTime(Date deliveryTime) 
    {
        this.deliveryTime = deliveryTime;
    }

    public Date getDeliveryTime() 
    {
        return deliveryTime;
    }

    public void setReceiptNoteNo(String receiptNoteNo) 
    {
        this.receiptNoteNo = receiptNoteNo;
    }

    public String getReceiptNoteNo() 
    {
        return receiptNoteNo;
    }

    public void setReceivedTime(Date receivedTime) 
    {
        this.receivedTime = receivedTime;
    }

    public Date getReceivedTime() 
    {
        return receivedTime;
    }

    public void setInspectionPlanNo(String inspectionPlanNo) 
    {
        this.inspectionPlanNo = inspectionPlanNo;
    }

    public String getInspectionPlanNo() 
    {
        return inspectionPlanNo;
    }

    public void setInspectedTime(Date inspectedTime) 
    {
        this.inspectedTime = inspectedTime;
    }

    public Date getInspectedTime() 
    {
        return inspectedTime;
    }

    public void setPurchaseInNo(String purchaseInNo) 
    {
        this.purchaseInNo = purchaseInNo;
    }

    public String getPurchaseInNo() 
    {
        return purchaseInNo;
    }

    public void setPutawayTime(Date putawayTime) 
    {
        this.putawayTime = putawayTime;
    }

    public Date getPutawayTime() 
    {
        return putawayTime;
    }

    public void setIsRejected(String isRejected) 
    {
        this.isRejected = isRejected;
    }

    public String getIsRejected() 
    {
        return isRejected;
    }

    public void setQualityResult(String qualityResult) 
    {
        this.qualityResult = qualityResult;
    }

    public String getQualityResult() 
    {
        return qualityResult;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }

    public void setUpdatedTime(Date updatedTime) 
    {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() 
    {
        return updatedTime;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("barcodeId", getBarcodeId())
            .append("barcode", getBarcode())
            .append("barcodeStatus", getBarcodeStatus())
            .append("itemId", getItemId())
            .append("orderNo", getOrderNo())
            .append("batchNo", getBatchNo())
            .append("inventoryCode", getInventoryCode())
            .append("inventoryName", getInventoryName())
            .append("supplierCode", getSupplierCode())
            .append("supplierName", getSupplierName())
            .append("packQuantity", getPackQuantity())
            .append("unitCode", getUnitCode())
            .append("unitName", getUnitName())
            .append("deliveryNoteNo", getDeliveryNoteNo())
            .append("deliveryTime", getDeliveryTime())
            .append("receiptNoteNo", getReceiptNoteNo())
            .append("receivedTime", getReceivedTime())
            .append("inspectionPlanNo", getInspectionPlanNo())
            .append("inspectedTime", getInspectedTime())
            .append("purchaseInNo", getPurchaseInNo())
            .append("putawayTime", getPutawayTime())
            .append("isRejected", getIsRejected())
            .append("qualityResult", getQualityResult())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
